﻿CREATE PROCEDURE dbo.SetMessage
	(
	@InboxType int,
	@Sender int,
	@Recipient int,
	@Header nvarchar(50),
	@Priority int,
	@Text nvarchar(250)
	)
AS
	
INSERT INTO Messages (InboxType,Sender,Recipient,Header,SendTime,Priority,Text)
VALUES (@InboxType,@Sender,@Recipient,@Header,getdate(),@Priority,@Text);
--commit;
